<!--
 * @Description: 文本规则
 * @Author: zzj
 * @Date: 2021-08-16 14:30:02
 * @LastEditors: zzj
 * @LastEditTime: 2021-08-16 14:51:58
 * @FilePath: \jiepuyiqing\tyut\zzj\2-css\day03\3-text.html
-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>文本规则</title>
    <style>
        html{
            font: 14px/1.4 '宋体';
           
        }
        a{
            text-decoration: none;
        }
        .one{
            text-align: center;
            text-decoration-line: underline;
            text-decoration-style: dotted;
            text-decoration-color: beige;
        }
        .two{
            text-shadow: 3px 3px 3px gray;
        }
        .three{
            text-transform: capitalize;
        }
        .four{
            width: 300px;
            background-color: hotpink;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
    </style>
</head>
<body>
    <div class="one">“中国民居建筑大师”、天津大学张玉坤教授一行来校交流座谈</div>
    <div class="two">我校获批教育部首批新文科研究与实践项目两项</div>
    <a href=" https://www.baidu.com ">百度一下 </a>
    <div class="three">hello world</div>
    <div class="four">华侨汇智有限责任公司总裁蔡海燕、太原技术转移促进中心主任李国忠一行来校调研</div>
</body>
</html>